import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { RequirementManagerAuditComponent } from './requirement-manager-audit.component';
import { RequirementManagerAuditAllComponent } from './requirement-manager-auditall.component';

const routes: Routes = [
  {
    path: '', children: [
      { path: 'list', component: RequirementManagerAuditComponent, data: { permission: 'Pages.StandardPartsManager.RequirementManagerAudit' } },
      { path: 'listall', component: RequirementManagerAuditAllComponent, data: { permission: 'Pages.StandardPartsManager.RequirementManagerShow' } }
    ]
  },
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class RequirementManagerAuditRoutingModule { }
